import request from "@/utils/request";

//登录
export const buyerLoginApi = (user) => {
  return request.post('/public/login', user);
}

//注册
export const buyerRegisterApi = (user) => {
  return request.post('/public/register', user);
}